<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- saved from url=(0030)http://data.webfoundation.org/ -->
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    
    <title>Data - World Wide Web Foundation</title>
    <link href="https://private.webfoundation.org/style/base.css" rel="stylesheet" type="text/css">
    <link href="./css/prettify.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" src="./js/prettify.js"></script>

	<meta name="creator" content="data WebFoundation" />
	<link rel="schema.DCT" href="http://purl.org/dc/terms/" />
	<link rel="schema.VOID" href="http://rdfs.org/ns/void#" />
	<meta name="DCT.Identifier" content="webfoundation:webindex:linkeddata:2012" />
	<meta name="DCT.Description.Abstract" content="The Web Index is the world's first multi-dimensional measure of the Web's growth, utility and impact on people and nations." />
	<meta name="DCT.Creator" content="http://data.webfoundation.org/webindex/people/Hania" />
	<meta name="DCT.Creator" content="http://data.webfoundation.org/webindex/people/Jules" />
	<meta name="DCT.Creator" content="http://data.webfoundation.org/webindex/organization/WebFoundation" />
	<meta name="DCT.Contributor" content="http://data.webfoundation.org/webindex/people/Chema" />
	<meta name="DCT.Contributor" content="http://data.webfoundation.org/webindex/people/Labra" />
	<meta name="DCT.Contributor" content="http://data.webfoundation.org/webindex/organization/WESO" />
	<meta name="DCT.Date.Issued" content="September, 2012" />
	<meta name="DCT.Title" content="The WebIndex as Linked Data" />
	<meta name="VOID.DataDump" content="http://data.webfoundation.org/datasets/webindex/dump.tar.gz" />

  <script>window["_GOOG_TRANS_EXT_VER"] = "1";</script></head>
  <body onload="prettyPrint()">
    <h1>World Wide Web Foundation</h1>
    <h2>Welcome</h2>
	<p>This is the summary of the promotion of the <a href="http://wi.webfoundation.org/">Web Index</a> to the Linked Data initiative applying the <a href="http://www.w3.org/DesignIssues/LinkedData.html">design issues</a> outlined by <a href="http://www.w3.org/People/Berners-Lee/">Tim Berners-Lee</a> to publish a new 5 star dataset containing all observations gathered by the <a href="http://webfoundation.org">Web Foundation</a> and other international organizations.</p>	
	<p>Quick start:</p>	
	<ul>
		<li><a href="http://data.webfoundation.org/webindex/">Browse the Web Index</a></li>
		<li><a href="#demo-queries">See Demo Queries</a></li>
	</ul>
	<p>If you want to know more about this work you can directly access to next sections.</p>
	<ul>
		<li><a href="#webindex-as-linked-data">The WebIndex as Linked Data</a></li>
		<li><a href="#principles-and-methodology">Principles and Methodology</a></li>
		<li><a href="#vocabulary-selection">Vocabulary Selection</a></li>
		<li><a href="#reused-datasets">Reused Datasets</a></li>
		<li><a href="#uri-design-scheme">URI Design Scheme</a></li>
		<li><a href="#example-of-rdf-resources">Example of RDF resources</a></li>
		<li><a href="#querying-the-sparql-endpoint">Querying the SPARQL Endpoint</a></li>
		<li><a href="#tools-and-services">Tools and Services</a></li>
		<li><a href="#statistics">Statistics</a></li>
		<li><a href="#downloads">Downloads</a></li>
		<li><a href="#credits">Credits</a></li>
	</ul>
    <h2><a name="webindex-as-linked-data">The WebIndex as Linked Data</a></h2>
    <h3><a name="principles-and-methodology">Principles and Methodology</a></h3>
	<ul>
		<li><a href="http://www.w3.org/DesignIssues/LinkedData.html">Linked Data Design Issues</a></li>
		<li><a href="http://linkeddatabook.com/editions/1.0/">Linked Data: Evolving the Web into a Global Data Space</a></li>
		<li><a href="http://patterns.dataincubator.org/book/">Linked Data Patterns</a></li>
		<li><a href="http://www.w3.org/TR/swbp-vocab-pub/">W3C-Best Practice Recipes for Publishing RDF Vocabularies</a></li>
		<li><a href="http://www.w3.org/2011/gld/wiki/Linked_Data_Cookbook">W3C-Linked Data Cookbook</a></li>
		<li><a href="http://www.w3.org/TR/gov-data/">W3C-Publishing Open Government Data</a></li>
		<li><a href="http://lod2.eu/WikiArticle/TechnologyStack.html">LOD2 Stack</a></li>
		<li><a href="http://www.w3.org/Submission/2012/02/">Toward a Basic Profile for Linked Data (W3C version)</a></li>
		<li><a href="http://www.semantic-web.at/LOD-TheEssentials.pdf">Linked Open Data: The Essentials</a></li>
		<li><a href="http://jn.wspc.com.sg/ijseke/22/2203/S0218194012400086.html">Towards a Pan-European E-Procurement platform to Aggregate, Publish and Search Public Procurement Notices powered by Linked Open Data: The MOLDEAS Approach.</a></li>
		<li><a href="http://www.w3.org/TR/cooluris/">W3C-Cool URIs for the Semantic Web</a></li>
		<li><a href="http://sw.deri.org/~aidanh/docs/bnodes.pdf">On Blank Nodes</a></li>
		<li>...</li>
	</ul>

    <h3><a name="vocabulary-selection">Vocabulary Selection</a></h3>
	<p>In order to reuse definitions of existing vocabularies and ontologies we have selected the following ones to be applied in 
the promotion of the Web Index to the Linked Data initiative.
	<table border="1">
	<thead>
	<tr>
		<td><strong>Vocabulary</strong></td>
		<td><strong>Use</strong></td>
	</tr>
	</thead>
	<tbody>
	<tr>
		<td><a href="http://www.w3.org/TR/skos-reference/">SKOS-Simple Knowledge Organization System</a></td>
		<td>Definition of concepts (Index, Component, Indicator, etc.) and their relationships to represent the Web Index data</td>
	</tr>
	<tr>
		<td><a href="http://www.w3.org/TR/vocab-data-cube/">RDF Data Cube Vocabulary</a></td>
		<td>Publishing statistical data about indicators.</td>
	</tr>
	<tr>
		<td><a href="http://www.w3.org/TR/vocab-org/">W3C-Organizations Ontology</a></td>
		<td>Publishing information about providers.</td>
	</tr>
	<tr>
		<td><a href="http://www.foaf-project.org/">The Friend of a Friend (FOAF) project</a></td>
		<td>Publishing information about people.</td>
	</tr>
	<tr>
		<td><a href="http://www.w3.org/TR/owl-time/">W3C-Time Ontology</a></td>
		<td>Modelling time intervals.</td>
	</tr>
	<tr>
		<td><a href="http://vocab.deri.ie/void/">Vocabulary of Interlinked Datasets (VoID)</a></td>
		<td>Express metadata about RDF datasets.</td>
	</tr>
	<tr>
		<td><a href="http://dublincore.org/documents/dcmi-terms/">DCMI Metadata Terms</a></td>
		<td>Express metadata about RDF resources, etc.</td>
	</tr>

	<tr>
		<td><a href="http://linkedgeodata.org/ontology/">Linked Geo Data Ontology</a></td>
		<td>Reuse of country and region definitions</td>
	</tr>
	<tr>
		<td><a href="http://dublincore.org/documents/dcmi-terms/">Semantic Web stack vocabularies and ontologies</a></td>
		<td><a href="http://www.w3.org/TR/rdf-schema/">RDFS</a>, <a href="http://www.w3.org/TR/owl2-overview/">OWL2</a>, <a href="http://www.w3.org/XML/Schema">XML-Schema</a>, etc.</td>
	</tr>
	</tbody>
	</table>
	<p>The common prefixes and namespaces of these vocabularies have been retrieved from <a href="http://prefix.cc/">Prefix.cc</a>.</p>
    <h3><a name="reused-datasets">Reused Datasets</a></h3>
<table border="1">
	<thead>
	<tr>
		<td><strong>Dataset</strong></td>
		<td><strong>Use</strong></td>
	</tr>
	</thead>
	<tbody>
	<tr>
		<td><a href="http://dbpedia.org/">DBPedia</a></td>
		<td>Links to countries and other concepts.</td>
	</tr>
	<tr>
		<td><a href="http://data.worldbank.org/">World Bank Data</a></td>
		<td>Reusing some indicators and values.</td>
	</tr>
	<tr>
		<td><a href="http://www.fao.org/knowledge/kfhome/faogeopoliticalontology/en/">FAO Geopolotical Ontology and Data</a></td>
		<td>Links to geographical data.</td>
	</tr>
	<tr>
		<td>etc.</td>
		<td>etc.</td>
	</tr>
	</tbody>
	</table>

    <h3><a name="uri-design-scheme">URI Design Scheme</a></h3>


<table border="1">
<thead>
	<tr>
		<td><strong>Dataset</strong></td>
		<td><strong>Graph URI</strong></td>
		<td><strong>Example</strong></td>
	</tr>
</thead>
<tbody>
<tr>
	<td>*</td>
	<td><a href="http://data.webfoundation.org/webindex/">http://data.webfoundation.org/webindex/</a> (default)</td>
	<td>*</td>
</tr>

<tr>
	<td>Indexes</td>
	<td><a href="http://data.webfoundation.org/webindex/index/">http://data.webfoundation.org/webindex/index/</a></td>
	<td><a href="http://data.webfoundation.org/webindex/index/Readiness">http://data.webfoundation.org/webindex/index/Readiness</a></td>
</tr>


<tr>
	<td>Components</td>
	<td><a href="http://data.webfoundation.org/webindex/component/">http://data.webfoundation.org/webindex/component/</a></td>
	<td><a href="http://data.webfoundation.org/webindex/component/InstitutionalInfrastructure">http://data.webfoundation.org/webindex/component/InstitutionalInfrastructure</a></td>
</tr>

<tr>
	<td>Indicators</td>
	<td><a href="http://data.webfoundation.org/webindex/indicator/">http://data.webfoundation.org/webindex/indicator/</a></td>
	<td><a href="http://data.webfoundation.org/webindex/indicator/ITUA">http://data.webfoundation.org/webindex/indicator/ITUA</a></td>
</tr>
		
<tr>
	<td>External Indicators</td>
	<td><a href="http://data.webfoundation.org/webindex/indicator/external/">http://data.webfoundation.org/webindex/indicator/external/</a></td>
	<td><a href="http://data.webfoundation.org/webindex/indicator/external/AG.LND.TOTL.K2">http://data.webfoundation.org/webindex/indicator/external/AG.LND.TOTL.K2</a></td>
</tr>		
	

<tr>
	<td>RDF Data Cube Datasets</td>
	<td><a href="http://data.webfoundation.org/webindex/dataset/">http://data.webfoundation.org/webindex/dataset/</a></td>
	<td><a href="http://data.webfoundation.org/webindex/dataset/ITUA-Imputed">http://data.webfoundation.org/webindex/dataset/ITUA-Imputed</a></td>
</tr>	


<tr>
	<td>Slices</td>
	<td><a href="http://data.webfoundation.org/webindex/slice/">http://data.webfoundation.org/webindex/slice/</a></td>
	<td><a href="http://data.webfoundation.org/webindex/slice/ITUA-Normalised/2010">http://data.webfoundation.org/webindex/slice/ITUA-Normalised/2010</a></td>
</tr>	


<tr>
	<td>Observations</td>
	<td><a href="http://data.webfoundation.org/webindex/observation/">http://data.webfoundation.org/webindex/observation/</a></td>
	<td><a href="http://data.webfoundation.org/webindex/observation/ITUA-Normalised/obs24">http://data.webfoundation.org/webindex/observation/ITUA-Normalised/obs24</a></td>
</tr>


<tr>
	<td>Areas</td>
	<td><a href="http://data.webfoundation.org/webindex/area/">http://data.webfoundation.org/webindex/area/</a></td>
	<td><a href="http://data.webfoundation.org/webindex/area/country/">http://data.webfoundation.org/webindex/area/country/</a></td>
</tr>

	
<tr>
	<td>Regions</td>
	<td><a href="http://data.webfoundation.org/webindex/area/region/">http://data.webfoundation.org/webindex/area/region/</a></td>
	<td><a href="http://data.webfoundation.org/webindex/area/region/Americas">http://data.webfoundation.org/webindex/area/region/Americas</a></td>
</tr>

<tr>
	<td>Countries</td>
	<td><a href="http://data.webfoundation.org/webindex/area/country/">http://data.webfoundation.org/webindex/area/country/</a></td>
	<td><a href="http://data.webfoundation.org/webindex/area/country/ARG">http://data.webfoundation.org/webindex/area/country/ARG</a></td>
</tr>	
		
	
<tr>
	<td>Organizations</td>
	<td><a href="http://data.webfoundation.org/webindex/organization/">http://data.webfoundation.org/webindex/organization/</a></td>
	<td><a href="http://data.webfoundation.org/webindex/organization/WESO">http://data.webfoundation.org/webindex/organization/WESO</a></td>
</tr>	
		
<tr>
	<td>People</td>
	<td><a href="http://data.webfoundation.org/webindex/people/">http://data.webfoundation.org/webindex/people/</a></td>
	<td><a href="http://data.webfoundation.org/webindex/people/Chema">http://data.webfoundation.org/webindex/people/Chema</a></td>
</tr>

<tr>
	<td>Scores*</td>
	<td><a href="http://data.webfoundation.org/webindex/score/">http://data.webfoundation.org/webindex/score/</a></td>
	<td><a href="http://data.webfoundation.org/webindex/score/s38">http://data.webfoundation.org/webindex/score/s38</a></td>
</tr>


<tr>
	<td>Ontology and definitions</td>
	<td><a href="http://data.webfoundation.org/webindex/ontology/">http://data.webfoundation.org/webindex/ontology/</a></td>
	<td><a href="http://data.webfoundation.org/webindex/ontology/value">http://data.webfoundation.org/webindex/ontology/value</a></td>
</tr>
		
</tbody>
</table>

<p>* Note: <em>Scores are supposed to be removed from the endpoint due to these values should be generated by clients applying 
the <a href="http://thewebindex.org/about/methodology/computation/">computation process</a>.</em></p>


   <h3><a name="example-of-rdf-resources">Example of RDF resources</a></h3>
	<ul>
		<li>Subindex
<pre class="prettyprint lang-sql">
wi-index:Readiness wi-onto:weight 0.2;
	a wi-onto:Index;
	rdfs:comment "This sub-Index assesses the state of the communications and institutional 
		infrastructure that is needed to be able to access the Web in a country."@en;
	rdfs:label "Readiness"@en;
	skos:broader wi-index:ds;
	skos:narrower wi-component:CommunicationsInfrastructure,
		wi-component:InstitutionalInfrastructure.
</pre>
		</li>
		<li>Component</li>
<pre class="prettyprint lang-sql">
wi-component:CommunicationsInfrastructure 
	a wi-onto:Component;
	rdfs:label "Communications"@en;
	rdfs:comment "This component assesses the state and availability of 
		the physical and communications infrastructure that enables access to the Web."@en;
	skos:broader wi-index:Readiness;
	wi-onto:weight "0.3333"^^xsd:double.</pre>
		<li>Primary Indicator</li>
<pre class="prettyprint lang-sql">
wi-indicator:Q1 a wi-onto:PrimaryIndicator ;
	rdfs:label "Q1"@en ;
	rdfs:comment "Use of web for political mobilisation"@en ;
	wi-onto:ref-source wi-org:WebFoundation ;
	wi-onto:weight "1.0"^^xsd:double ;
	wi-onto:high-low wi-onto:High ;
	skos:notation "Q1" ;
	time:intervalStarts "2007"^^xsd:int ;
	time:intervalFinishes "2011"^^xsd:int ;
	skos:definition "Survey Question: To what extent has the Web been used for political 
		mobilisation in your country (e.g. through the use of social networking sites)? 
		[1 = not at all; 10 = extensively]"@en ;
	skos:broader wi-component:Political .</pre>

		<li>Secondary Indicator</li>
<pre class="prettyprint lang-sql">
wi-indicator:ITUA a wi-onto:SecondaryIndicator ;
	rdfs:label "ITUA"@en ;
	rdfs:comment "International Bandwidth (Mbits/Second) per internet user"@en ;
	wi-onto:ref-source wi-org:ITU ;
	wi-onto:provider-link <http://www.itu.int/ITU-D/ict/publications/world/world.html> ;
	wi-onto:missing-notes "Generally data was available for 2007-11. 
		For Qatar, 2009 figure was estimated using mean substitution for the 
		2008 and 2010 values. For Cameroon and Chile no 2007 data was available 
		so applied average (geometric mean) annual growth between 2008-11 backwardly for 2007."@en ;
	wi-onto:weight "1.0"^^xsd:double ;
	wi-onto:high-low wi-onto:High ;
	skos:notation "ITUA" ;
	time:intervalStarts "2007"^^xsd:int ;
	time:intervalFinishes "2011"^^xsd:int ;
	skos:definition "Capacity of all Internet exchanges that backbone operaters 
		provide to carry traffic. Based on responses from countries of 
		an annual questionnaire supplemented with data from ITU research. 
		Measured in terms of Mbits per second per internet user"@en ;
	skos:broader wi-component:CommunicationsInfrastructure .</pre>
		<li>Primary Observation</li>
<pre class="prettyprint lang-sql">
&lt;http://data.webfoundation.org/webindex/observation/Q1-Normalised/obs1&gt;
      a       qb:Observation ;
      rdfs:comment "Use of web for political mobilisation"@en ;
      rdfs:label "Use of web for political mobilisation in Argentina during 2011"@en ;
      wi-onto:md5-checksum
              "98689680495252386798649259285029384607" ;
      wi-onto:ref-area wi-country:ARG ;
      wi-onto:ref-indicator
              wi-indicator:Q1 ;
      wi-onto:ref-year "2011"^^xsd:int ;
      wi-onto:sheet-type wi-onto:Normalised ;
      wi-onto:value "-0.3561861069647072"^^xsd:double ;
      dcterms:contributor wi-org:WESO ;
      dcterms:date "2011"^^xsd:int ;
      dcterms:publisher wi-org:WebFoundation ;
      qb:dataSet wi-dataset:Q1-Normalised ;
      sdmx-concept:obsStatus
              wi-onto:obsStatus-N .
</pre>
		<li>Secondary Observation</li>
<pre class="prettyprint lang-sql">
&lt;http://data.webfoundation.org/webindex/observation/ITUA-Imputed/obs4&gt;
      a       qb:Observation ;
      rdfs:comment "International Bandwidth (Mbits/Second) per internet user"@en ;
      rdfs:label "International Bandwidth (Mbits/Second) per internet user in Argentina during 2010"@en ;
      wi-onto:md5-checksum
              "224294376052453313347055070086150678416" ;
      wi-onto:ref-area wi-country:ARG ;
      wi-onto:ref-indicator
              wi-indicator:ITUA ;
      wi-onto:ref-year "2010"^^xsd:int ;
      wi-onto:sheet-type wi-onto:Imputed ;
      wi-onto:value "27494.3277552181"^^xsd:double ;
      dcterms:contributor wi-org:WESO ;
      dcterms:date "2010"^^xsd:int ;
      dcterms:publisher wi-org:WebFoundation ;
      qb:dataSet wi-dataset:ITUA-Imputed ;
      sdmx-concept:obsStatus
              sdmx-code:obsStatus-I .
</pre>
		<li>External Indicator</li>
<pre class="prettyprint lang-sql">
&lt;http://data.webfoundation.org/webindex/indicator/external/AG.LND.TOTL.K2&gt;
      a       wi-onto:ExternalIndicator ;
      rdfs:label "Land area (sq. km)"@en ;      
      rdfs:comment "Land area is a country's total area, excluding area under inland water bodies, national claims to continental shelf, 
	and exclusive economic zones. In most cases the definition of inland water bodies includes major rivers and lakes."@en ;
      wi-onto:country-coverage "229"^^xsd:long ;
      wi-onto:provider-link
              <http://www.worldbank.org/> ;
      wi-onto:ref-source wi-org:WorldBank ;
      skos:notation "AG.LND.TOTL.K2" ;
      dcterms:source &lt;http://api.worldbank.org/countries/indicators/AG.LND.TOTL.K2?per_page=250&date=2010:2010&gt; ;
      time:intervalFinishes
              "2010"^^xsd:int ;
      time:intervalStarts "2010"^^xsd:int .
</pre>
		<li>External Observation</li>
<pre class="prettyprint lang-sql">
&lt;http://data.webfoundation.org/webindex/observation/external/obs22&gt;
      a       qb:Observation ;
      rdfs:label "Land area (sq. km) in Argentina during 2010"@en ;
      wi-onto:ref-area wi-country:ARG ;
      wi-onto:ref-indicator
              &lt;http://data.webfoundation.org/webindex/indicator/external/AG.LND.TOTL.K2&gt; ;
      wi-onto:ref-year "2010"^^xsd:int ;
      wi-onto:value "2736690.0"^^xsd:double ;
      dcterms:contributor wi-org:WESO ;
      dcterms:creator wi-org:WorldBank ;
      dcterms:date "2010"^^xsd:int ;
      rdfs:comment "Land area (sq. km)"@en ;
      dcterms:publisher wi-org:WebFoundation ;
      qb:dataSet &lt;http://data.webfoundation.org/webindex/dataset/external/AG.LND.TOTL.K2&gt; ;
      sdmx-concept:obsStatus
              sdmx-code:obsStatus-A .
</pre>
		<li>Score</li>
<pre class="prettyprint lang-sql">
wi-score:s38  a   qb:Observation;
	rdfs:label	"Web Index score of Argentina in 2011"@en;
	wi-onto:ref-area	wi-country:ARG;
	wi-onto:sheet-type	wi-onto:Score;
	wi-onto:ref-type	wi-index:WebIndex;
	wi-onto:ref-year 	"2011"^^xsd:int;
	dcterms:date 	 	"2011"^^xsd:int;
	wi-onto:ref-value	"42.15"^^xsd:double;
	dcterms:contributor wi-org:WESO ;
	dcterms:publisher wi-org:WebFoundation ;
	qb:dataSet wi-dataset-score:WebIndex;
	sdmx-concept:obsStatus  sdmx-code:obsStatus-A .
</pre>
		<li>Organization</li>
<pre class="prettyprint lang-sql">
wi-org:WebFoundation a  org:Organization ;
  rdfs:label "World Wide Web Foundation"@en ;
  rdfs:comment "The World Wide Web Foundation was established in 2009 by Web inventor Sir Tim Berners-Lee to tackle the fundamental 
	obstacles to realizing his vision of an open Web available, usable, and valuable for everyone."@en ;            
  org:identifier "WebFoundation"@en;
  wi-onto:ref-source-data &lt;http://data.webfoundation.org/webindex/&gt;;
  foaf:homepage &lt;http://www.webfoundation.org/&gt;;
  org:hasSite [
 	rdfs:label "World Wide Web Foundation"@en ;
 	org:siteAddress [
		  v:fn "World Wide Web Foundation" ;
		  v:org [ v:organisation-name "World Wide Web Foundation"@en  ;
			  v:organisation-unit "World Wide Web Foundation-Switzerland"@en  ] ;
		  v:adr [ rdf:type v:Work ;
			  v:country-name "Switzerland"@en  ;
			  v:locality "Geneva"@en  ;
			  v:postal-code "1208" ;
			  v:street-address "c/o Lenz & Staehelin Route de Chêne 30" ] ;
		  v:geo [ v:latitude "46.1996244" ;
			  v:longitude "6.167931" ] ;
		  v:logo &lt;http://www.webfoundation.org/wp-content/themes/webfoundation/assets/img/logo_wf.gif&gt; .		
 		];
 ];

  org:hasSite [
 	rdfs:label "World Wide Web Foundation"@en ;
 	org:siteAddress [
		  v:fn "World Wide Web Foundation" ;
		  v:org [ v:organisation-name "World Wide Web Foundation"@en  ;
			  v:organisation-unit "World Wide Web Foundation-United States"@en  ] ;
		  v:adr [ rdf:type v:Work ;
			  v:country-name "United States"@en  ;
			  v:locality "Boston, Massachusetts"@en  ;
			  v:postal-code "02109" ;
			  v:street-address "114 State Street, Suite 600" ] ;
		  v:geo [ v:latitude "42.3591687" ;
			  v:longitude "-71.0548274" ] ;
		  v:logo <http://www.webfoundation.org/wp-content/themes/webfoundation/assets/img/logo_wf.gif> .		
 		];

   ];
.
</pre>
		<li>Country</li>
<pre class="prettyprint lang-sql">
wi-country:ARG wi-onto:has-iso-alpha2-code "AR";
        wi-onto:has-iso-alpha3-code "ARG";
        wi-onto:ref-dbpedia dbpedia:ISO_3166-1:AR;
        a wi-onto:Country;
        rdfs:label "Argentina"@en;
        geo:lat "-38.416097";
        geo:long "-63.61667199999999";
        skos:altLabel "Argentina"@EN,
                "la Argentina"@ES,
                "l'Argentine"@FR,
                "Аргентина"@RU,
                "جمهورية الأرجنتين"@AR,
                "阿根廷共和国"@ZH;
        skos:exactMatch <http://aims.fao.org/aos/geopolitical.owl#Argentina>;
           ...
        skos:prefLabel "la República Argentina"@ES,
                "la République argentine"@FR,
                "the Argentine Republic"@EN,
                "Аргентинская Республика"@RU,
                "جمهورية الأرجنتين"@AR,
                "阿根廷共和国"@ZH.
</pre>		
		<li>Region</li>
<pre class="prettyprint lang-sql">
wi-region:Americas  a wi-onto:Region;
 rdfs:label "Americas"@en;
 wi-onto:ref-dbpedia <http://dbpedia.org/resource/Americas>;
 wi-onto:has-country wi-country:ARG;
 wi-onto:has-country wi-country:MEX;
 wi-onto:has-country wi-country:COL;
 wi-onto:has-country wi-country:ECU;
 wi-onto:has-country wi-country:BRA;
 wi-onto:has-country wi-country:CAN;
 wi-onto:has-country wi-country:CHL;
 wi-onto:has-country wi-country:USA;
 wi-onto:has-country wi-country:VEN;
.
</pre>
	</ul>
    <h2><a name="querying-the-sparql-endpoint">Querying the SPARQL Endpoint</a></h2>
	<p>Assuming there are 5 main variables in each observation: indicator, dataset, country, year, status.If you want to extract observations according to these variables, please use the next SPARQL query template (customizing FILTER clauses).</p>
	<pre class="prettyprint lang-sql">
	SELECT ?obs ?value ?indicator ?dataset ?country ?year ?status WHERE{
	  ?obs rdf:type qb:Observation.
	  ?obs wi-onto:ref-indicator ?indicator.
	  FILTER(?indicator = wi-indicator:#INDICATOR#).
	  ?obs qb:dataSet ?dataset.
	  FILTER(?dataset = wi-dataset:#INDICATOR#-#DATASET#).
	  ?obs wi-onto:ref-area ?country.
	  FILTER(?country = wi-country:#COUNTRY#).
	  ?obs wi-onto:ref-year ?year.
	  FILTER(?year = #YEAR#).
	  ?obs sdmx-concept:obsStatus ?status.
	  FILTER(?status = #STATUS#). //It could be removed
	  ?obs wi-onto:value ?value.  
	}
	</pre>
<p>Check the next examples:<p/>
<ul>
	<li><a href="http://data.webfoundation.org/snorql/?query=SELECT+%3Fobs+%3Fvalue+%3Findicator+%3Fcountry+%3Fyear+%3Fstatus+WHERE%7B%0D%0A++%3Fobs+rdf%3Atype+qb%3AObservation.%0D%0A++%3Fobs+wi-onto%3Aref-indicator+%3Findicator.%0D%0A++FILTER%28%3Findicator+%3D+wi-indicator%3AQ25%29.%0D%0A++%3Fobs+wi-onto%3Aref-area+%3Fcountry.%0D%0A++FILTER%28%3Fcountry+%3D+wi-country%3AARG%29.%0D%0A++%3Fobs+wi-onto%3Aref-year+%3Fyear.%0D%0A++FILTER%28%3Fyear+%3D+2011%29.%0D%0A++%3Fobs+sdmx-concept%3AobsStatus+%3Fstatus.%0D%0A++%3Fobs+wi-onto%3Avalue+%3Fvalue.++%0D%0A%7D">Try it!</a>
<pre class="prettyprint lang-sql">
SELECT ?obs ?value ?indicator ?country ?year ?status WHERE{
  ?obs rdf:type qb:Observation.
  ?obs wi-onto:ref-indicator ?indicator.
  FILTER(?indicator = wi-indicator:Q25).
  ?obs wi-onto:ref-area ?country.
  FILTER(?country = wi-country:ARG).
  ?obs wi-onto:ref-year ?year.
  FILTER(?year = 2011).
  ?obs sdmx-concept:obsStatus ?status.
  ?obs wi-onto:value ?value.  
}
</pre>
</li>

<li><a href="http://data.webfoundation.org/snorql/?query=SELECT+%3Fobs+%3Fvalue+%3Findicator+%3Fdataset+%3Fcountry+%3Fyear+%3Fstatus+WHERE%7B%0D%0A++%3Fobs+rdf%3Atype+qb%3AObservation.%0D%0A++%3Fobs+wi-onto%3Aref-indicator+%3Findicator.%0D%0A++FILTER%28%3Findicator+%3D+wi-indicator%3AITUD%29.%0D%0A++%3Fobs+qb%3AdataSet+%3Fdataset.%0D%0A++FILTER%28%3Fdataset+%3D+wi-dataset%3AITUD-Imputed%29.%0D%0A++%3Fobs+wi-onto%3Aref-area+%3Fcountry.%0D%0A++FILTER%28%3Fcountry+%3D+wi-country%3AARG%29.%0D%0A++%3Fobs+wi-onto%3Aref-year+%3Fyear.%0D%0A++FILTER%28%3Fyear+%3D+2009%29.%0D%0A++%3Fobs+sdmx-concept%3AobsStatus+%3Fstatus.%0D%0A++FILTER%28%3Fstatus+%3D+sdmx-code%3AobsStatus-I%29.%0D%0A++%3Fobs+wi-onto%3Avalue+%3Fvalue.++%0D%0A%7D">Try it!</a>
<pre class="prettyprint lang-sql">
SELECT ?obs ?value ?indicator ?dataset ?country ?year ?status WHERE{
  ?obs rdf:type qb:Observation.
  ?obs wi-onto:ref-indicator ?indicator.
  FILTER(?indicator = wi-indicator:ITUD).
  ?obs qb:dataSet ?dataset.
  FILTER(?dataset = wi-dataset:ITUD-Imputed).
  ?obs wi-onto:ref-area ?country.
  FILTER(?country = wi-country:ARG).
  ?obs wi-onto:ref-year ?year.
  FILTER(?year = 2009).
  ?obs sdmx-concept:obsStatus ?status.
  FILTER(?status = sdmx-code:obsStatus-I).
  ?obs wi-onto:value ?value.  
}
</pre>
</li>

</ul>




    <h3><a name="demo-queries">Demo Queries</a></h3>
	<ul>
<li><a href="http://data.webfoundation.org/snorql/?query=SELECT+%3FcountryName+%3Fvalue+WHERE+%7B%0D%0A++%3Fobs++rdf%3Atype+qb%3AObservation.%0D%0A++%3Fobs++wi-onto%3Asheet-type+wi-onto%3AScore.%0D%0A++%3Fobs++wi-onto%3Aref-type++wi-index%3AWebIndex.%0D%0A++%3Fobs++wi-onto%3Aref-year++%3Fyear.%0D%0A++FILTER+%28%3Fyear+%3D+2011%29.%0D%0A++%3Fobs+wi-onto%3Aref-area+%3Fcountry.%0D%0A++%3Fcountry+rdfs%3Alabel+%3FcountryName.%0D%0A++%3Fobs+wi-onto%3Aref-value+%3Fvalue.%0D%0A%7D+ORDER+BY+desc%28%3Fvalue%29">The Web Index 2012 Rankings</a>
<pre class="prettyprint lang-sql">
SELECT ?countryName ?value WHERE {
  ?obs  rdf:type qb:Observation.
  ?obs  wi-onto:sheet-type wi-onto:Score.
  ?obs  wi-onto:ref-type  wi-index:WebIndex.
  ?obs  wi-onto:ref-year  ?year.
  FILTER (?year = 2011).
  ?obs wi-onto:ref-area ?country.
  ?country rdfs:label ?countryName.
  ?obs wi-onto:ref-value ?value.
} ORDER BY desc(?value)
</pre>
</li>
		<li><a href="http://data.webfoundation.org/snorql/?query=SELECT+distinct+*%0D%0AWHERE{%0D%0A++%3Fobs+rdf:type+qb:Observation%0D%0A}+LIMIT+100">Give me 100 triples about observations</a>
<pre class="prettyprint lang-sql">
SELECT *
WHERE{
  ?obs rdf:type qb:Observation
} LIMIT 100
</pre>
</li>
		<li><a href="http://data.webfoundation.org/snorql/?query=SELECT+distinct+*%0D%0AWHERE{%0D%0A++%3Findicator+rdf:type+%3FtypeIndicator.%0D%0A++FILTER(%3FtypeIndicator%3Dwi-onto:PrimaryIndicator+||+%3FtypeIndicator%3Dwi-onto:SecondaryIndicator)%0D%0A}+">Give me all indicators</a>
<pre class="prettyprint lang-sql">
SELECT *
WHERE{
  ?indicator rdf:type ?typeIndicator.
  FILTER(?typeIndicator=wi-onto:PrimaryIndicator || ?typeIndicator=wi-onto:SecondaryIndicator)
}
</pre>
</li>
		<li><a href="http://data.webfoundation.org/snorql/?query=SELECT+*%0D%0AWHERE%7B%0D%0A++%3Findex+rdf%3Atype+wi-onto%3AIndex.%0D%0A++%3Findex+skos%3Anarrower+%3Fcomponent.%0D%0A++%3Findicator+rdf%3Atype+%3FtypeIndicator.%0D%0A++FILTER%28%3FtypeIndicator%3Dwi-onto%3APrimaryIndicator+%7C%7C+%3FtypeIndicator%3Dwi-onto%3ASecondaryIndicator%29%0D%0A++%3Findicator+skos%3Abroader+%3Fcomponent.%0D%0A%7D+">Give me all indicators by component and index</a>
<pre class="prettyprint lang-sql">
SELECT *
WHERE{
  ?index rdf:type wi-onto:Index.
  ?index skos:narrower ?component.
  ?indicator rdf:type ?typeIndicator.
  FILTER(?typeIndicator=wi-onto:PrimaryIndicator || ?typeIndicator=wi-onto:SecondaryIndicator)
  ?indicator skos:broader ?component.
} 
</pre>
</li>
		<li><a href="http://data.webfoundation.org/snorql/?query=SELECT+distinct+*%0D%0AWHERE{%0D%0A++%3Findex+rdf:type+wi-onto:Index.%0D%0A++%3Findex+skos:narrower+%3Fcomponent.%0D%0A++%3Findicator+rdf:type+%3FtypeIndicator.%0D%0A++FILTER(%3FtypeIndicator%3Dwi-onto:PrimaryIndicator+||+%3FtypeIndicator%3Dwi-onto:SecondaryIndicator).%0D%0A++%3Findicator+skos:broader+%3Fcomponent.%0D%0A++%3Findicator+wi-onto:ref-source+%3Forg.%0D%0A++FILTER+(%3Forg+%3D+wi-org:ITU)%0D%0A}">Give me all indicators by a specific organization (ITU)</a>
<pre class="prettyprint lang-sql">
SELECT *
WHERE{
  ?index rdf:type wi-onto:Index.
  ?index skos:narrower ?component.
  ?indicator rdf:type ?typeIndicator.
  FILTER(?typeIndicator=wi-onto:PrimaryIndicator || ?typeIndicator=wi-onto:SecondaryIndicator).
  ?indicator skos:broader ?component.
  ?indicator wi-onto:ref-source ?org.
  FILTER (?org = wi-org:ITU)
}
</pre>

</li>
		<li><a href="http://data.webfoundation.org/snorql/?query=SELECT+distinct+*%0D%0AWHERE{%0D%0A++%3Findex+rdf:type+wi-onto:Index.%0D%0A++%3Findex+skos:narrower+%3Fcomponent.%0D%0A++%3Findicator+skos:broader+%3Fcomponent.%0D%0A++%3Findicator+rdf:type+%3FtypeIndicator.%0D%0A++FILTER(%3FtypeIndicator%3Dwi-onto:SecondaryIndicator).%0D%0A++FILTER(%3Findicator+%3D+wi-indicator:ITUD).%0D%0A++%3Fobs+rdf:type+qb:Observation.%0D%0A++%3Fobs+wi-onto:ref-indicator+%3Findicator.%0D%0A++%3Fobs+sdmx-concept:obsStatus+%3Fstatus.%0D%0A++FILTER(%3Fstatus+%3D+sdmx-code:obsStatus-A).%0D%0A++%3Fobs+wi-onto:value+%3Fvalue.%0D%0A++%0D%0A}">Give me all observations of indicator ITUD including component and index</a>
<pre class="prettyprint lang-sql">
SELECT *
WHERE{
  ?index rdf:type wi-onto:Index.
  ?index skos:narrower ?component.
  ?indicator skos:broader ?component.
  ?indicator rdf:type ?typeIndicator.
  FILTER(?typeIndicator=wi-onto:SecondaryIndicator).
  FILTER(?indicator = wi-indicator:ITUD).
  ?obs rdf:type qb:Observation.
  ?obs wi-onto:ref-indicator ?indicator.
  ?obs sdmx-concept:obsStatus ?status.
  FILTER(?status = sdmx-code:obsStatus-A).
  ?obs wi-onto:value ?value.  
}
</pre>

</li>
		<li><a href="http://data.webfoundation.org/snorql/?query=SELECT+%3FcountryLabel+%3Fid+%3Flat+%3Flong%0D%0AWHERE%7B%0D%0A++%3Fcountry+rdf%3Atype+wi-onto%3ACountry.%0D%0A++%3Fcountry+rdfs%3Alabel+%3FcountryLabel.%0D%0A++FILTER+%28lang%28%3FcountryLabel%29+%3D+%27en%27%29.++%0D%0A++%3Fcountry+wi-onto%3Ahas-iso-alpha3-code+%3Fid.%0D%0A++%3Fcountry+geo%3Alat+%3Flat.%0D%0A++%3Fcountry+geo%3Along+%3Flong.%0D%0A+%0D%0A++%7D">Give me all countries (label, ISO code, lat and long)</a>
<pre class="prettyprint lang-sql">
SELECT ?countryLabel ?id ?lat ?long
WHERE{
  ?country rdf:type wi-onto:Country.
  ?country rdfs:label ?countryLabel.
  FILTER (lang(?countryLabel) = 'en').  
  ?country wi-onto:has-iso-alpha3-code ?id.
  ?country geo:lat ?lat.
  ?country geo:long ?long.
 
  }
</pre>
</li>
		<li><a href="http://data.webfoundation.org/snorql/?query=SELECT+%3FcountryNameZH+%3Fyear+%3Fvalue+%0D%0AWHERE%7B%0D%0A++%3Fcountry+rdf%3Atype+wi-onto%3ACountry.%0D%0A++%3Fcountry+rdfs%3Alabel+%3Flabel.%0D%0A++FILTER+%28lang%28%3Flabel%29+%3D+%27en%27+%26%26+str%28%3Flabel%29+%3D+str%28%27Cameroon%27%29%29.%0D%0A++%3Fcountry+skos%3AprefLabel+%3FcountryNameZH.%0D%0A++FILTER+%28lang%28%3FcountryNameZH%29%3D+%27zh%27%29.%0D%0A++%3Fobs+rdf%3Atype+qb%3AObservation.%0D%0A++%3Fobs+wi-onto%3Aref-area+%3Fcountry.%0D%0A++%3Fobs+wi-onto%3Aref-year+%3Fyear.%0D%0A++FILTER+%28str%28%3Fyear%29+%3D+str%28%272009%27%29%29.%0D%0A++%3Fobs+wi-onto%3Aref-indicator+%3Findicator.%0D%0A++FILTER%28%3Findicator+%3D+wi-indicator%3AIEAA%29.%0D%0A++%3Fobs+wi-onto%3Avalue+%3Fvalue%0D%0A%7D++">Give me the observation about Cameroon (name in Chinese) in 2009 with regards to indicator IEAA and measure electrification rate (describing this kind of value)</a>
<pre class="prettyprint lang-sql">
SELECT ?countryNameZH ?year ?value 
WHERE{
  ?country rdf:type wi-onto:Country.
  ?country rdfs:label ?label.
  FILTER (lang(?label) = 'en' && str(?label) = str('Cameroon')).
  ?country skos:prefLabel ?countryNameZH.
  FILTER (lang(?countryNameZH)= 'zh').
  ?obs rdf:type qb:Observation.
  ?obs wi-onto:ref-area ?country.
  ?obs wi-onto:ref-year ?year.
  FILTER (str(?year) = str('2009')).
  ?obs wi-onto:ref-indicator ?indicator.
  FILTER(?indicator = wi-indicator:IEAA).
  ?obs wi-onto:value ?value
}  
</pre>

</li>
		<li><a href="http://phillip.webfoundation.org:8890/sparql?default-graph-uri=&query=SELECT+DISTINCT+%3FotherCountry+%3FotherCountryName+%3Fvalue+%0D%0AWHERE{%0D%0A++%3Fcountry+rdf:type+wi-onto:Country.%0D%0A++%3Fcountry+rdfs:label+%3Flabel.%0D%0A++FILTER+(lang(%3Flabel)+%3D+'en'+%26%26+str(%3Flabel)+%3D+str('Belgium')).%0D%0A++%3Fcountry+geo:lat+%3Flat.%0D%0A++%3Fcountry+geo:long+%3Flong.%0D%0A++%3FotherCountry+rdf:type+wi-onto:Country.%0D%0A++FILTER(%3Fcountry+!%3D+%3FotherCountry).%0D%0A++%3FotherCountry+geo:lat+%3Flat1.%0D%0A++%3FotherCountry+geo:long+%3Flong1.%0D%0A++FILTER(xsd:double(%3Flat1)+-+xsd:double(%3Flat)+%3C%3D+2+%26%26+xsd:double(%3Flat)+-+xsd:double(%3Flat1)+%3C%3D+2+%26%26%0D%0Axsd:double(%3Flong1)+-+xsd:double(%3Flong)+%3C%3D+2+%26%26+xsd:double(%3Flong)+-+xsd:double(%3Flong1)+%3C%3D+2).%0D%0A++%3FotherCountry+skos:prefLabel+%3FotherCountryName.%0D%0A++FILTER+(lang(%3FotherCountryName)%3D+'fr').%0D%0A++%3Fobs+rdf:type+qb:Observation.%0D%0A++%3Fobs+wi-onto:ref-area+%3FotherCountry.%0D%0A++%3Fobs+wi-onto:ref-indicator+wi-indicator:IEAA.%0D%0A++%3Fobs+wi-onto:value+%3Fvalue%0D%0A}&should-sponge=&format=text/html&timeout=0&debug=on">Give me the observations about countries (name in French) close to Belgium (&gt; 200km) with regards to indicator IEAA.</a>
<pre class="prettyprint lang-sql">
SELECT ?otherCountry ?otherCountryName ?value 
WHERE{
  ?country rdf:type wi-onto:Country.
  ?country rdfs:label ?label.
  FILTER (lang(?label) = 'en' && str(?label) = str('Belgium')).
  ?country geo:lat ?lat.
  ?country geo:long ?long.
  ?otherCountry rdf:type wi-onto:Country.
  FILTER(?country != ?otherCountry).
  ?otherCountry geo:lat ?lat1.
  ?otherCountry geo:long ?long1.
  FILTER(xsd:double(?lat1) - xsd:double(?lat) <= 2 && xsd:double(?lat) - xsd:double(?lat1) <= 2 &&
xsd:double(?long1) - xsd:double(?long) <= 2 && xsd:double(?long) - xsd:double(?long1) <= 2).
  ?otherCountry skos:prefLabel ?otherCountryName.
  FILTER (lang(?otherCountryName)= 'fr').
  ?obs rdf:type qb:Observation.
  ?obs wi-onto:ref-area ?otherCountry.
  ?obs wi-onto:ref-indicator wi-indicator:IEAA.
  ?obs wi-onto:value ?value
}
</pre>

</li>
	</ul>
	
    <h3><a name="tools-and-services">Tools and Services</a></h3>
	   <ul>
	      <li><a href="http://data.webfoundation.org/sparql">SPARQL Endpoint</a> by <a href="http://virtuoso.openlinksw.com/">OpenLink-Virtuoso</a></li>
	      <li><a href="http://data.webfoundation.org/webindex/">Linked Data Frontend</a> by <a href="http://www4.wiwiss.fu-berlin.de/pubby/">Pubby</a></li>
	      <li><a href="http://data.webfoundation.org/snorql">Explore the Endpoint</a> by <a href="http://data.semanticweb.org/snorql/">SNORQL</a></li>
	    </ul>
    <h3><a name="statistics">Statistics</a></h3>
<p>This is a summary of the statistics provided by <a href="http://virtuoso.openlinksw.com/">OpenLink-Virtuoso</a>. The number total of RDF triples generated is 
more than <em>1 million</em> with <em>81628</em> different subjects and <em>69824</em> distinct objects. </p>
</p>
<pre class="prettyprint lang-sql">
...
this:Dataset a void:Dataset ; 
 rdfs:seeAlso &lt;http://data.webfoundation.org/webindex/&gt; ; 
 rdfs:label "" ; 
 void:sparqlEndpoint &lt;http://data.webfoundation.org:8890/sparql&gt; ; 
 void:statItem this:Stat ; 
 void:statItem this:DistinctSubjectsStat ; 
 void:statItem this:DistinctObjectsStat . 
this:Stat a scovo:Item ; 
 rdf:value 1152056 ; 
 scovo:dimension void:numOfTriples . 
this:DistinctSubjectsStat a scovo:Item ; 
 rdf:value 81628 ; 
 scovo:dimension void:numberOfDistinctSubjects . 
this:DistinctObjectsStat a scovo:Item ; 
 rdf:value 69824 ; 
 scovo:dimension void:numberOfDistinctObjects . 
...
</pre>
    <h2><a name="downloads">Downloads</a></h2>
    <p>Please find in <a href="http://data.webfoundation.org/datasets/webindex/">this directory</a> the set of files containing the RDF data of the Web Index. You can also download all data in a single <a href="http://data.webfoundation.org/datasets/webindex/dump.tar.gz">dump file</a>.</p>
    <h2><a name="credits">Credits</a></h2>
    <p>The promotion of the <a href="http://wi.webfoundation.org/">Web Index</a> to the <a href="http://linkeddata.org/">Linked Data</a> initiative has been carried out between <a href="http://www.weso.es">WESO Research Group</a> (<a href="http://www.uniovi.es">University of Oviedo</a>) and the <a href="http://www.webfoundation.org/">Web Foundation</a>.
    </p>
	<ul>
		<li><a href="http://www.josemalvarez.es">Jose María Alvarez Rodríguez</a> (<a href="http://www.weso.es/">WESO</a>)</li>
		<li><a href="http://www.di.uniovi.es/~labra">José Emilio Labra Gayo</a> (<a href="http://www.weso.es/">WESO</a>)</li>
		<li><a href="http://www.webfoundation.org/about/executive-team/#jules-clement-systems-manager">Jules Clement</a> (<a href="http://www.webfoundation.org/">Web Foundation</a>)</li>
		<li><a href="http://www.webfoundation.org/about/executive-team/#hania-farhan-program-manager-a-id-hania-name-hania-a-">Hania Farhan</a> (<a href="http://www.webfoundation.org/">Web Foundation</a>)</li>
<li><a href="http://www.webfoundation.org/about/executive-team/#jos-m-alonso-program-manager">José Manuel Alonso</a> (<a href="http://www.webfoundation.org/">Web Foundation</a>)</li>
	</ul>
    <address>
      Started by <a href="mailto:jules@webfoundation.org">Jules</a>, March 2011,
      maintained by <a href="mailto:sysreq@webfoundation.org">WF System team</a>.<br>
      Last update $Id$
  </address>

  

</body></html>
